<?php 
	function display_tags(){
		session_start();
		$search = "SELECT DISTINCT(tag) FROM Tags;";
		$result = mysql_query($search);
		echo"<div class='e' id='e'>";
		while($row = mysql_fetch_array($result, MYSQL_ASSOC)){
			echo "<div class='e' id='smalle'>
			<a href='edit_tag.php?index=1&tag=".$row['tag']."'style=color:#806D7E>".$row['tag']."</a>
			</div>";
			echo "<div class='e' id='smalle'>
			<a href='manage_tags/delete_tag.php?link=".$row['tag']."'style=color:#806D7E>delete</a><br>
			</div>";
		}
		echo "</div>";
	}
;?>